import request from '@/utils/request'

// 查询人员导入明细列表
export function listEmployeeImportDetail(query) {
  return request({
    url: '/erecord/employeeImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询人员导入明细详细
export function getEmployeeImportDetail(id) {
  return request({
    url: '/erecord/employeeImportDetail/' + id,
    method: 'get'
  })
}

// 新增人员导入明细
export function addEmployeeImportDetail(data) {
  return request({
    url: '/erecord/employeeImportDetail',
    method: 'post',
    data: data
  })
}

// 修改人员导入明细
export function updateEmployeeImportDetail(data) {
  return request({
    url: '/erecord/employeeImportDetail',
    method: 'put',
    data: data
  })
}

// 删除人员导入明细
export function delEmployeeImportDetail(id) {
  return request({
    url: '/erecord/employeeImportDetail/' + id,
    method: 'delete'
  })
}
